package com.sgb.kjwl.viewmodel.self;

import com.sgb.kjwl.model.entity.self.PermissionMenuEntity;
import com.sgb.kjwl.repository.SelfRepertory;
import com.sgb.kjwl.view.ui.activity.self.LogisticsMenuActivity;
import com.swgk.core.base.BaseViewModel;

import java.util.List;

/**
 *
 */
public class LogisticsMenuModel extends BaseViewModel {

    private LogisticsMenuActivity activity;
    private SelfRepertory repertory;

    public LogisticsMenuModel(LogisticsMenuActivity activity, SelfRepertory repertory) {
        this.activity = activity;
        this.repertory = repertory;
    }
    public void getMenus(List<PermissionMenuEntity.ListEntity> data){
        PermissionMenuEntity.ListEntity menuEntity = new PermissionMenuEntity.ListEntity();
        menuEntity.setTitle("普通货源");
        menuEntity.setName("普通货源");
        menuEntity.setIcon("putonghuoyuan");
        PermissionMenuEntity.ListEntity menuEntity1 = new PermissionMenuEntity.ListEntity();
        menuEntity1.setTitle("竞价货源");
        menuEntity1.setName("竞价货源");
        menuEntity1.setIcon("jingjiahuoyuan");
        PermissionMenuEntity.ListEntity menuEntity2 = new PermissionMenuEntity.ListEntity();
        menuEntity2.setTitle("承运商机");
        menuEntity2.setName("承运商机");
        menuEntity2.setIcon("chengyunshangji");
        PermissionMenuEntity.ListEntity menuEntity3=new PermissionMenuEntity.ListEntity();
        menuEntity3.setTitle("运输订单");
        menuEntity3.setName("运输订单");
        menuEntity3.setIcon("yunshudingdan");
        PermissionMenuEntity.ListEntity menuEntity4=new PermissionMenuEntity.ListEntity();
        menuEntity4.setTitle("我的询价");
        menuEntity4.setName("我的询价");
        menuEntity4.setIcon("wodexunjia");
/*        PermissionMenuEntity.ListEntity menuEntity5=new PermissionMenuEntity.ListEntity();
        menuEntity5.setTitle("常用联系人");
        menuEntity5.setIcon("changyonglianxiren");
        PermissionMenuEntity.ListEntity menuEntity6=new PermissionMenuEntity.ListEntity();
        menuEntity6.setTitle("下载货运APP");
        menuEntity6.setIcon("xiazaihuoyun");*/
        data.add(menuEntity);
        data.add(menuEntity1);
        data.add(menuEntity2);
        data.add(menuEntity3);
        data.add(menuEntity4);
 /*       data.add(menuEntity5);
        data.add(menuEntity6);*/


    }

}
